//
//  CacheDAO.h
//  CoreDataDemo
//
//  Created by chenguibang on 16/2/29.
//  Copyright © 2016年 chenguibang. All rights reserved.
//

#import "CoreDataDAO.h"
#import "RspCache+CoreDataProperties.h"
#import "RspCache.h"
#import "RspCacheModel.h"

@interface CacheDAO : CoreDataDAO
/**
 *  无条件查询所有
 *
 *  @return 所有的RspCache 列表
 */
-(NSMutableArray*)findAll;

-(RspCacheModel*)findById:(RspCacheModel*)model;


-(BOOL)insert:(RspCacheModel*)model;

-(BOOL)remove:(RspCacheModel*)model;


-(BOOL)modify:(RspCacheModel*)model;

@end
